package com.dfba.Homework4;

public class Cat extends Animal{
    public Cat(String name, double weight) {
        super(name, weight);
    }
    @Override
    void eat() {
        System.out.println(super.getName()+"吃鱼");
    }
    public void catchMouse(){
        System.out.println("努力抓老鼠");
    }
}
